ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    color: #666;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    background-color: #f5f5f5;
}

.container {
    background-color: #fff;
}


/* 修改container的最大宽度为 1280 根据设计稿来走的 */

@media screen and (min-width:1280px) {
    .container {
        width: 1280px;
    }
}


/* header */

header {
    padding-left: 0!important;
}

.logo {
    background-color: #429ad9;
}

.logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.nav {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width:991px) {
    .nav ul {
        display: flex;
    }
    .nav ul li {
        flex: 1;
    }
    article {
        margin-top: 10px;
    }
}

@media screen and (max-width:767px) {
     

    .nav ul li a:hover{
        font-size: 5px;
    }
    .nav ul li a {
        font-size: 5pximportant;
        padding-left: 0px;
        color: redimportant;
    }
    .nav a::before {
   
    padding-right: 0px!important;
}
    .news li:first-child {
        width: 100%!important;
    }
    .news li {
        width: 50%!important;
    }
    .publish h3 {
        font-size: 14px;
    }
}

.nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
}

.logo span {
    display: block;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    color: #fff;
}

.nav a:hover {
    background-color: #fff;
    color: #429ad9;
    
}

.nav a::before {
    vertical-align: middle;
    padding-right: 10px;
}

.nav a span {
    margin: 0 5px;
}


/* 新闻 */

.news li {
    float: left;
    width: 25%;
    height: 133px;
    /* 为了留出右边的空白缝隙 */
    padding-right: 10px;
}

.news li:first-child {
    width: 50%;
    height: 266px;
}

.news li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news li:first-child a p {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    line-height: 41px;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    font-size: 18px;
    padding-left: 10px;
}

.news li a img {
    width: 100%;
    height: 100%;
}

.news ul li:nth-child(2),
li:nth-child(3) {
    padding-bottom: 10px;
}

.news ul li:nth-child(3),
li:last-child {
    padding-right: 0;
}

.news ul li:nth-child(n+2) a p {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    line-height: 17px;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    font-size: 12px;
    padding: 5px;
}

.publish {
    border-top: 1px solid #ccc;
    margin-top: 20px;
}

.publish .row {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.pic {
    margin-top: 18px;
    width: 100%;
    height: 100%;
}

.banner img {
    width: 100%;
}

.hot {
    position: relative;
    margin-top: 20px;
    display: block;
    border: 1px solid #FF5E52;
    padding: 30px 15px 20px 15px;
}

.hot p {
    font-size: 12px;
}

.hot h2 {
    font-size: 20px;
    color: #FF5E52;
}

.btn-danger {
    position: absolute;
    top: 0;
    left: 20px;
    border-radius: 0;
}